Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

acts_as_state_machine needed

#6

I'm setting up my first go w/RESTful authentication, and following the INSTALL section of the README, i executed the script/generate authenticated user sessions --include-activation --stateful

whenever i run the rake db:migrate or the generate for the Role step, i get "undefined method 'acts_as_state_machine' for User(Table doesn't exist):Class"

I understand what's going on, but googling for a rails state-machine plugin gives me about a dozen offerings in the first few pages -- is there a preferred one to be used for RA? (The most robust, if identifiable as such.)

Many thanks, -cbs

Reported by cbs · August 17th, 2008 @ 08:13 PM

State: resolved
Milestone: none
Assigned to: mrflip mrflip

Activity

  1. mrflip
    mrflip
    • State changed from new to resolved
    • Tag changed from acts_as_state_machine, install, stateful to aasm, acts_as_state_machine, install, stateful

    aasm seems to be the People's Choice -- see the notes under the --aasm flag.

    
    if options[:aasm]
     puts "- Install the acts_as_state_machine gem:"
     puts "    sudo gem sources -a http://gems.github.com (If you haven't already)"
     puts "    sudo gem install rubyist-aasm"
    

    August 18th, 2008 @ 08:46 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.